package com;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;

import com.config1.DBConfig1;
import com.config2.DBConfig2;

@ComponentScan(basePackages = "com")
@EnableAutoConfiguration
@EnableConfigurationProperties(value = { DBConfig1.class, DBConfig2.class })
public class App {
	public static void main(String[] args) {
		SpringApplication.run(App.class, args);
	}
}
